package com.yulamg.core.respository;

import com.yulamg.core.user.User;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface UserRespository extends JpaSpecificationExecutor<User>, CrudRepository<User, String> {

    public List<User> findUserByName(String name);

    User findByUsername(String username);

}
